package com.bishe.cyh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bishe.cyh.mode.LoginAdd;
import com.bishe.cyh.mode.YGinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: Poppin
 * @Date: 2022/3/5 16:19
 * @Version: 1.0
 */
@Mapper
public interface LoginAddMapper extends BaseMapper<LoginAdd> {

    @Select("select DISTINCT name,ygid from relogin")
    List<YGinfo> findAllyg();
}
